package cn.kgc.vue.service;

import cn.kgc.vue.commons.QueryCondition;
import cn.kgc.vue.commons.ResponseResult;
import cn.kgc.vue.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
* @author mengshun
* @description 针对表【sys_role】的数据库操作Service
* @createDate 2024-07-03 14:20:13
*/
public interface RoleService extends IService<Role> {

    ResponseResult rolePage(QueryCondition<Role> params);

    ResponseResult delete(Integer id);

    ResponseResult rolePermissions(Integer rid);

    ResponseResult editRolePermissions(HashMap<String, Object> params);
}
